﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCFacebook.ascx.cs" Inherits="UControls_UCFacebook" %>
<p></p>
<div id="fb-root"></div>

<script type="text/javascript">
    (function (d, s, id) 
    {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1&appId=318965558126499"; 
        fjs.parentNode.insertBefore(js, fjs);
    } (document, 'script', 'facebook-jssdk'));</script>
   
<div style="text-align:center;background-color:White;">
 <a  id="ahref" runat="server" 
    onclick="
    window.open(
     'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href),
      
      'facebook_share_dialog', 
      'width=626,height=436'); 
    return false;">
    <img style="border:0px solid white;" src="../Images/fShare.jpg" alt="Chia sẻ trang này với mọi người" />
 </a>
    
<%-- <iframe id="fb_like" runat="server" src="http://www.facebook.com/plugins/like.php?locale=vi_VN&href=http%3A%2F%2Fhocdelamgi.somee.com%2Fdefault.aspx&amp;width=450&amp;height=80&amp;colorscheme=light&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;send=true&amp;appId=154233684771403" 
 scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:20px;" allowTransparency="true">
 </iframe>--%>
    <div id="fbLike" runat="server"  class="fb-like" data-href="http://ec35.somee.com/Pages/TrangChu.aspx" 
    data-width="450" data-layout="button_count" data-show-faces="true" data-send="true">
   </div>
    <br /><br />
 </div>
 <div style="background-color:#FFCCCC;color:#B70000;font-size:8pt;line-height:1.5 ;
      width:95%;margin:auto;
      border-radius:5px;border-radius:5px" >
 &nbsp;&nbsp;Số người truy cập: <asp:Label ID="lblTruycap" runat="server" 
        style="font-weight: 700;"  Text="Label"></asp:Label><br />
 &nbsp;&nbsp;Số người online:  <asp:Label ID="lblOnline" runat="server" 
        style="font-weight: 700;" Text="Label"></asp:Label><br />
 </div>
 <p></p>

